package cn.edu.scujcc.dpl;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import androidx.appcompat.app.AppCompatActivity;

import cn.edu.scujcc.dpl.ui.home.HomeFragment;

public class wxActivity extends AppCompatActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.wxregister);
        Button btn = findViewById(R.id.bbb);
        btn.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v){
                Intent it = new Intent();
                it.setClass(wxActivity.this, MainActivity.class);
                wxActivity.this.startActivity(it);
            }
        });
        Button btnp = findViewById(R.id.bbt);
        btnp.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v){
                Intent it = new Intent();
                it.setClass(wxActivity.this, Register.class);
                wxActivity.this.startActivity(it);
            }
        });
    }
}

